﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TISSEAN
{
    partial class MainWindow : Form
    {
        private void FalseNearest()
        {
            Source.FalseNearest o = new Source.FalseNearest();

            FalseNearestDialog dlg = new FalseNearestDialog();
            dlg.ShowDialog();

            if (dlg.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                double[,] result = o.Calculate(dlg.FileName, dlg.Length, dlg.Exclude, dlg.Column, dlg.MinimumEmbedding, dlg.MaximumEmbedding, dlg.Delay, dlg.RatioFactor, dlg.TheilerWindow, dlg.Separator);
            }
        }
    }
}
